package com.dhsc.controller.ywjk.qywjh.jhlxwh;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.dhsc.domain.jkzx.ywjk.qywjh.jhlxwh.TjkYclbVo;
import com.dhsc.domain.yypt.LayuiTableVo;
import com.dhsc.domain.yypt.ResponseObject;
import com.dhsc.service.ywjk.qywjh.jhlxwh.ILxflcsService;

/**
 * @ClassName: LxflcsController
 * @Description: 类型分类参数
 * @Author: jwj
 * @Date: 2023/11/7 10:52
 */
@Controller
@RequestMapping("/ywjk/qywjh/jhlxwh")
public class LxflcsController {

    @Autowired
    private ILxflcsService lxflcsService;


    /**
     * @Description: 查询类型分类参数信息
     * @MessageName:queryLxflcs
     * @Param:
     * @return: ResponseObject
     * @Author: jwj
     * @Date: 2023/11/7 15:39
     */
    @ResponseBody
    @RequestMapping(value="/queryLxflcs")
    public LayuiTableVo queryLxflcs(){
        return lxflcsService.queryLxflcs();
    }

    /**
     * @Description: 查询类型分类参数异常类型
     * @MessageName:queryLxflcsYclx
     * @Param:
     * @return: ResponseObject
     * @Author: jwj
     * @Date: 2023/11/7 14:57
     */
    @ResponseBody
    @RequestMapping(value="/queryLxflcsYclx")
    public ResponseObject queryLxflcsYclx(){
        return lxflcsService.queryLxflcsYclx();
    }

    /**
     * @Description: 保存类型分类参数
     * @MessageName:saveLxflcs
     * @Param:  tjkYclbVo
     * @return: ResponseObject
     * @Author: jwj
     * @Date: 2023/11/17 9:26
     */
    @RequestMapping(value="/saveLxflcs")
    @ResponseBody
    public ResponseObject saveLxflcs(TjkYclbVo tjkYclbVo)
    {
        return lxflcsService.saveLxflcs(tjkYclbVo);
    }

    /**
     * @Description: 删除类型分类参数
     * @MessageName:deleteLxflcs
     * @Param:  tjkYclbVo
     * @return: ResponseObject
     * @Author: jwj
     * @Date: 2023/11/17 9:26
     */
    @RequestMapping(value="/deleteLxflcs")
    @ResponseBody
    public ResponseObject deleteLxflcs(TjkYclbVo tjkYclbVo)
    {
        return lxflcsService.deleteLxflcs(tjkYclbVo);
    }

}
